<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">
	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>TYAE - SysJuridico</title>
		<link href="/sysjuridico/css/padrao.css" rel="stylesheet" type="text/css" media="all" />
		<ui:insert name="head"></ui:insert>
	</h:head>
	<body>
		<div id="principal">
		
					<div id="barraFerramentas">
						<div id="barraFerramentasCantoEsq"></div>
						<div id="barraFerramentasMeio">
						</div>
							<div id="barraFerramentasCantoDir">
						</div>
					</div>
					<!-- 
					<div id="logo">
						<img src="/sysjuridico/images/logo.gif" alt="" />
					</div>		
		 			-->

 					<div id="menuPrincipal">
						<h:form>
							<p:panel >
								<div id="menuPrincipal">
									<p:menubar id="mnMeio">
										<p:submenu label="SysJuridico" labelStyleClass="subMenuPrincipal">
											<p:menuitem value="Home" url="/principal.jsf" />
										</p:submenu>
										<p:submenu label="Cadastro" labelStyleClass="subMenuPrincipal">
											<p:menuitem value="Usuario" url="/usuario/manutencao.jsf" />
											<p:menuitem value="Advogado" url="/advogado/manutencao.jsf" />
											<p:menuitem value="Comarca" url="/comarca/manutencao.jsf" />
											<p:menuitem value="&Aacute;rea" url="/area/manutencao.jsf" />
											<p:menuitem value="Fase" url="/fase/manutencao.jsf" />
											<p:menuitem value="Vara" url="/vara/manutencao.jsf" />
											<p:menuitem value="A&ccedil;&atilde;o" url="/acao/manutencao.jsf" />
											<p:menuitem value="R&eacute;u" url="/reu/manutencao.jsf" />
											<p:menuitem value="Autor" url="/autor/manutencao.jsf" />
										</p:submenu>
										<p:submenu label="Movimento">
											<p:menuitem value="Processos" url="/processo/manutencao.jsf" />
											<p:menuitem value="Agenda" url="/agenda/cadastro.jsf" />
										</p:submenu>
										<p:submenu label="Relat&oacute;rios">
											<p:menuitem value="Processos por Comarca" url="/relatorios/processoComarca.jsf" />
										</p:submenu>
										<p:submenu label="Administrador" rendered="#{controleLogin.usuario.administrador}">
											<p:menuitem value="Empresa" url="/empresa/manutencao.jsf" />
										</p:submenu>							
									</p:menubar>
								</div>


								<h:commandLink action="/principal.jsf">
									<h:graphicImage url="/images/home.jpg" class="btnAcoes"/>
								</h:commandLink>
								<a href="/sysjuridico/logout.jsp"><img src="/sysjuridico/images/barraFerramentas/sair.png" alt="sair" /></a>
							</p:panel>
						</h:form>

					</div>
 
			<div id="meio">
				<div id="barraTitulo">
					<span> <ui:insert name="barraTitulo"></ui:insert></span>
				</div>
				<div id="conteudo">
					<span> <ui:insert name="conteudo"></ui:insert></span>
				</div>
				<div id="barraAcoes">
					<span><ui:insert name="barraAcoes"></ui:insert></span>
				</div>
			</div>
		</div>

	</body>
</html>